// SICollection_BPA.cpp: implementation of the CSICollection_BPA class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "../../Include/Swi/SICollection_BPA.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CSICollection_BPA::CSICollection_BPA()
{

}

CSICollection_BPA::~CSICollection_BPA()
{

}

CSI_BPA* CSICollection_BPA::GetFirstSI()
{
	return (CSI_BPA*)CCardCollection_BPA::GetFirstCard();
}

CSI_BPA* CSICollection_BPA::Traverse(CSI_BPA *pSI, int nDirection)
{
	return (CSI_BPA*)CCardCollection_BPA::Traverse(pSI,nDirection);
}

CSI_BPA* CSICollection_BPA::GetSI(char *strBusName, double dkV, char nID)
{
	CSI_BPA tempSI;
	strcpy(tempSI.m_strName,strBusName);
	tempSI.m_dkV = dkV;
	tempSI.m_chID = nID;
	return (CSI_BPA*)CCardCollection_BPA::GetCard(&tempSI);
}